Release 10.1A: OpenEdge Development:
ADM Reference
editInstanceProperties
Procedure that runs the dialog to get run-time property settings.
Location: smart.p Parameters: None Notes:
- Generally run by the AppBuilder in design mode to bring up the dialog procedure that has been defined in the object property include file as the ADM–PROPERTY–DLG preprocessor value. Normally there is one such standard program per template, whose name is specified in the template. This dialog allows application designers to define values for SmartObject properties that are appropriate to assign when an instance of the object is created.
- You can create special InstanceProperty programs for specific types of SmartObjects (a particular SmartDataViewer with extra run-time Properties, for example). No assumptions are made about the structure or functionality of the dialog program except that it sets each of the modified Instance Properties by executing their
setproperty functions. The existing Instance Property dialog procedures in thesrc/adm2/supportdirectory can be used as models for building new ones or extending existing ones.- Application code could invoke this procedure (by adding a double-click trigger to a widget, for example), to allow the InstanceProperty dialog to be invoked at run time.
- This is the Version 9 (ADM2) equivalent of the edit–attribute–list procedure in Version 8.
Examples:- Generally run by the AppBuilder in design mode.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |